#ifndef ACTIVATEABILITYVISITOR_H
#define ACTIVATEABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "ActivateAbility.h"

class ActivateAbilityVisitor: public GameAbilityVisitor
{
public:
	ActivateAbilityVisitor();
	virtual ~ActivateAbilityVisitor();

	virtual void Visit(ActivateAbility& ability);

	void Clear();
	bool FoundAbility() const;
	Activatable* ActivatableInterface() const;

protected:
private:
	bool found;
	Activatable* activatableInterface;
};

#endif //ACTIVATEABILITYVISITOR_H
